package com.kk.gray.filter;

// 本地现成副本：存储当前的版本信息
public class GrayscaleThreadLocalEnvironment {

    private static ThreadLocal<String> threadLocal = new ThreadLocal<String> ( );

    public static void setCurrentEnvironment(String currentEnvironmentVsersion) {
        threadLocal.set (currentEnvironmentVsersion);
    }

    public static String getCurrentEnvironment() {
        return threadLocal.get ( );
    }
}
